package com.yyfax.common.recyclerview.base;

import com.yyfax.common.R;

/**
 * Created by fuqiang on 2017/5/23.
 * Copyright  2017 www.yylending.com. All Rights Reserved.
 */
public class EmptyViewDelagate implements ItemViewDelegate<Object>{
	private int mLayoutId;
	public EmptyViewDelagate(){
		mLayoutId = R.layout.state_view_no_data;
	}
	public EmptyViewDelagate(int layoutId){
		mLayoutId  = layoutId;
	}
	@Override
	public int getItemViewLayoutId() {
		return mLayoutId;
	}

	@Override
	public boolean isForViewType(Object item, int position) {
		return false;
	}

	@Override
	public void convert(com.yyfax.common.recyclerview.base.ViewHolder holder, Object chatMessage, int position) {
	}
}
